<cfsetting enablecfoutputonly="yes">

<cfparam name="attributes.url" default="#application.xtiurl#">
<cfparam name="attributes.dtd" default="#application.xtidtd#">
<cfparam name="attributes.product_code">
<cfparam name="attributes.debug" default="false">
<cfparam name="attributes.debuglevel" default="1,2,3">
<!--- ---------------------------------------------------------------------------
Build the xml request doc  for our good middle ware friends Then post that puppy
to those middleware gurus.  Notice each system will need a specific post.--->

<cfscript>
xml = 
'<!DOCTYPE copy SYSTEM "#attributes.dtd#">
<xtiinput>
   <inputheader>
      <actionset>
         <action>stock_status</action>
      </actionset>
   </inputheader>
   <inputdata>
      <shopping_cart>
          <line_item>
               <product>
                    <product_code>#ucase(attributes.product_code)#</product_code>
               </product>
          </line_item>
      </shopping_cart>
   </inputdata>
</xtiinput>';
</cfscript>